.animated{
    -webkit-animation-duration: .25s;
    animation-duration: .25s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes shake {
    from, to {
        @include transform(translate3d(0, 0, 0))
    }

    0%, 50%, 100% {
        @include transform(translate3d(-5px, 0, 0))
    }

    25%, 75% {
        @include transform(translate3d(5px, 0, 0))
    }
}

@keyframes shake {
    from, to {
        @include transform(translate3d(0, 0, 0))
    }

    0%, 50%, 100% {
        @include transform(translate3d(-5px, 0, 0))
    }

    25%, 75% {
        @include transform(translate3d(5px, 0, 0))
    }
}

.shake {
    -webkit-animation-name: shake;
    animation-name: shake;
}